import request from '@/utils/request';

//视频工作台

// 获取模型api选项
export const getVideoApiOptions = (data) => {
    return request.post('/dk/v1/videoPlatform/getVideoApi', data);
};

// 文生视频
export const textToVideo = (data) => {
    return request.post('/dk/v1/videoPlatform/textToVideo', data);
};
// 图生视频
export const imgToVideo = (data) => {
    return request.post('/dk/v1/videoPlatform/imgToVideo', data);
};
// 首尾帧生视频
export const frameToVideo = (data) => {
    return request.post('/dk/v1/videoPlatform/mutiImgToVideo', data);
};

// 获取上传图片历史文件列表
export const getHistoryFilesByImgAllPage = data => {
  return request.get('/dk/v1/fileTransfer/getHistoryFilesByImgAllPage', data);
};